home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 864 < prev    next >
Encoding:
Text File  |  1996-08-06  |  574 b   |  22 lines

  1. Path: jupiter.planet.net!usenet
  2. From: Chris Kemp <chrisk@paladn.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Pointers to functions
  5. Date: 8 Jan 1996 01:23:05 GMT
  6. Organization: Paladin Consultants, Inc.
  7. Message-ID: <4cprlp$6kl@jupiter.planet.net>
  8. NNTP-Posting-Host: denv21.planet.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.2N (Windows; I; 32bit)
  13.  
  14. Can I do this?
  15. I want user to enter a function name, then the program will 
  16. 'do' the function named by the user
  17.  
  18. char *name="home_fn";
  19. int g;
  20. int a=2;
  21. int b=4;
  22.